<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
    <div class="layui-card-body">
        <div class="layui-form-item">
            <label class="layui-form-label label-required">账户</label>
            <div class="layui-input-block">
                <input value="{$info.username}" readonly="readonly" class="layui-input" readOnly="true">
                <input type="hidden" name="id" value="{$info.id}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required">电话</label>
            <div class="layui-input-block">
                <input type="text" min="0" readonly="readonly" value="{$info.phone}" class="layui-input" readOnly="true">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required">角色</label>
            <div class="layui-input-block">
                <select name="" id="">
                    <option value="1" readonly="readonly" <?php echo $info['role']==1 ? 'selected': ''; ?> >普通</option>
                    <option value="2" readonly="readonly" <?php echo $info['role']==2 ? 'selected': ''; ?> >代理</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required">账户余额</label>
            <div class="layui-input-block">
                <input name="" type="text" readonly="readonly" min="0" required  value="{$info.balance}" class="layui-input">
            </div>
        </div>
        
        
        <div class="layui-form-item">
            <label class="layui-form-label label-required">操作金额</label>
            <div class="layui-input-block">
                <input name="balance" type="text" min="0" required  value="" class="layui-input">
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label label-required">加减类型</label>
            <div class="layui-input-block">
                <select name="is_status" id="">
                    <option value="1" >加款</option>
                    <option value="2" >扣款</option>
                </select>
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label label-required">操作类型</label>
            <div class="layui-input-block">
                <select name="type" id="">
                    <option value="2" >人工存款</option>
                    <option value="3" >人工存款-不统计报表</option>
                    <option value="4" >彩礼赠金</option>
                    <option value="5" >人工扣除</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label label-required">操作备注</label>
            <div class="layui-input-block">
                <input name="remarks" type="text" min="0" required  value="" class="layui-input">
            </div>
        </div>

    </div>
    <input name="id" type="hidden" value="{$info.id}">

    <div class="hr-line-dashed"></div>

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>提交</button>
        <button class="layui-btn layui-btn-danger" type='button' data-close>取消</button>
    </div>

    <script>window.form.render();</script>

</form>
